#include <stdio.h>

void fun1(void);
void fun2(void);
void fun3(void);

int main(void)
{
	puts("I am in main function.");
	fun1( );
	puts("I am finally back in main function.");
	
	return 0;
}

void fun1(void)
{
	puts("I am in the first function.");
	fun2( );
	puts("I am in back in the first function.");
}

void fun2(void)
{
	puts ("I am in the second function.");
	fun3( );
	puts ("I am back in the second function.");
}

void fun3(void)
{
	puts("I am in the third function.");
}